package com.xinnet.mms.user.service;

import org.springframework.stereotype.Service;

import com.xinnet.core.utils.page.PageView;
import com.xinnet.mms.entity.User;

@Service
public interface UserService {
	
	public PageView<User> query(PageView<User> pageView,User user);
	
	public void add(User user);
	
	public void delete(Long id);
	
	public void modify(User user);
	
	public User getById(Long id);
	
	public User findByUserName(String userName);
}
